package com.dap.batch;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * @description: 可使用tomcat容器
 * @author: Fesine
 * @createTime:2017/12/22
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2017/12/22
 */
public class ServletInitializer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(BatchAdminApplication.class);
    }
}
